﻿<Window x:Class="Microsoft.Forums.ForumsClient.OptionsDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:scm="clr-namespace:System.ComponentModel;assembly=WindowsBase" 
    xmlns:ForumsOfflineStore="clr-namespace:Microsoft.Forums.OfflineStore;assembly=ForumsOfflineStore" 
    WindowStartupLocation="CenterScreen" 
    Title="OptionsDialog" Height="270" Width="400" MinHeight="260" MinWidth="390" MaxHeight="300" MaxWidth="430"
    Content="{DynamicResource OptionsView}"
    xmlns:ForumsClient="clr-namespace:Microsoft.Forums.ForumsClient"
      >
    <Window.CommandBindings>
        <CommandBinding Command="Close" Executed="Close_Executed" />
        <CommandBinding Command="{x:Static ForumsClient:Commands.SaveOptionsSettings}"  CanExecute="SaveOptionsSettings_CanExecute" Executed="SaveOptionsSettings_Executed" />
    </Window.CommandBindings>

</Window>
